package com.dingding.gmall.order.feign;

import com.dingding.gmall.order.dto.OrderItemDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("gmall-cart")
public interface CartFeignService {

    /**
     * 查询购物车选中的购物项
     * @return
     */
    @GetMapping("/checked")
    List<OrderItemDTO> getCheckedCartItems();
}
